package com.video_study.dao;

import com.video_study.dto.CourseDto2;
import com.video_study.pojo.CollectRecord;
import com.video_study.pojo.Course;

import java.util.List;

public interface CollectRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(CollectRecord record);

    CollectRecord selectByPrimaryKey(String id);

    List<CollectRecord> selectAll();

    int updateByPrimaryKey(CollectRecord record);

    List<CourseDto2> getCoursesByUserId(String id);
}